//
//  TheinquiryView.m
//  WE
//
//  Created by 要帅气的生活 on 15/11/20.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import "TheinquiryView.h"

@implementation TheinquiryView

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _img = [[UIImageView alloc] initWithFrame:CGRectMake(3, 8, self.frame.size.width-6, self.frame.size.width-6)];
        _img.layer.cornerRadius = self.frame.size.width/2-3;
        [self addSubview:_img];
        _img.backgroundColor = [UIColor redColor];
        
        _name = [[UILabel alloc] initWithFrame:CGRectMake(0, self.frame.size.width+5, self.frame.size.width, 20)];
        [self addSubview:_name];
        _name.textAlignment = 1;
        _name.font = [UIFont systemFontOfSize:14];
        //_name.backgroundColor = [UIColor yellowColor];
        
        _shanchan  = [[UILabel alloc] initWithFrame:CGRectMake(0, self.frame.size.width + 29, self.frame.size.width, 18)];
        _shanchan.textAlignment = 1;
        _shanchan.font = [UIFont systemFontOfSize:13];
        _shanchan.alpha = 0.5;
        //_shanchan.backgroundColor = [UIColor purpleColor];
        [self addSubview:_shanchan];
    }
    return self;
}

@end
